package com.huazheng.miaosha.web.service.impl;

import com.huazheng.miaosha.web.dao.StockDao;
import com.huazheng.miaosha.web.entity.StockEntity;
import com.huazheng.miaosha.web.service.StockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class StockServiceImpl  implements StockService {

    @Resource
    private StockDao stockDao;


    @Override
    public StockEntity findStockNum(int sid) {
        return stockDao.selectByPrimaryKey(sid);
    }
}
